package com.huaxin.device.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.huaxin.device.models.DeviceDataCollectionWide;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface DeviceDataCollectionWideMapper extends BaseMapper<DeviceDataCollectionWide> {
    IPage<Map<String, Object>> selectByDeviceIdWithColumns(
            @Param("page") IPage<Map<String, Object>> page,
            @Param("deviceIds") List<String> deviceIds,
            @Param("columns") List<String> columns,
            @Param("orgId") String orgId,
            @Param("familyId") String familyId);
}
